#try expect
def num_0(x,y):
    try:
        num=int(x/y)
        return num
    except Exception  as e:
        print(e)
    finally:
        print("我还是执行了")

#断言
def test(n):
     assert n!=0,"shi0"
     print(n)
if __name__ == '__main__':
    print(num_0(6, 0))
    test(0)